<!DOCTYPE html>
<html>
	<head>
		<title></title>
		
	</head>
	<body>
		<progress max="100" value="0" id="pg"></progress>
		<input type="range"/>
	</body>
	<script>
		var pg=document.getElementById('pg');
		 setInterval(function(e){
			  if(pg.value!=100) pg.value++;
			  else pg.value=0;
		},100);
	</script>
</html>